package com.jxb.commentree.mapper;

import com.jxb.commentree.dto.CommentDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentOnMapper {
    List<CommentDto> getCommentByBlogId(Integer blogId);
    List<CommentDto> getCommentByParentId(Integer parentId);
    void insertComment(CommentDto commentDto);
}
